package com.ambow.dao;

import java.util.List;

import com.ambow.Entity.Category;
import com.ambow.Entity.DeliverToStudent;
import com.ambow.Entity.Level;
import com.ambow.Entity.Major;
import com.ambow.Entity.PackageBook;
import com.ambow.Entity.Student;

public interface DeliverToStudentDao {

	Student queryStudent(String hql, String[] param);

	Student queryStudentById(Integer sid);

	boolean addDeliverToStudent(DeliverToStudent deliverToStudent);

	List<DeliverToStudent> queryDeliverToStudent(String hql, String[] param);

	Category queryCategoryById(Integer cid);

	Major queryMajorById(Integer mid);

	Level queryLevelById(Integer lid);

	PackageBook queryPackageBookById(Integer pid);

	List<DeliverToStudent> queryToStudent(String hql);

	Student queryById(Class<Student> class1, Integer sid);
	
}
